home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 16
/
AMIGAplus Sonderheft 16 (1998)(ICP)(DE)[!].iso
/
pd
/
anwendungen
/
xpk_source
/
libraries
/
none
/
xpklibnone.i
< prev
next >
Wrap
Text File
|
1998-02-08
|
2KB
|
58 lines
INCLUDE xpk/xpkLibHeader.i
******************** $VER: xpkLib.i 1.3 (11.01.1997) *********************
; Here the needed variables and strings are initialized. Do not change the
; format of the IDString. Only add some additional information after the
; second brake. An additional $VER: string is not needed!
VERSION EQU 1 ; version of your library
REVISION EQU 2 ; revision of your library
LibName DC.B 'xpkNONE.library',0
IDString DC.B 'xpkNONE 1.2 (01.04.1997)',13,10,0
CNOP 0,2
**************************************************************************
; Functions _InitCode and _ExitCode give you the ability to do things on
; opening and closing of library. These functions are called by init
; routine or by Expunge. Init is the only funtion, that is allowed to set a
; value for an global variable. The library pointer is in A5, registers
; have to be saved!!! If _InitCode returns not zero, the init function fails and
; thus the library cannot be opened!
; Sometimes you do not need functions _XpksPackReset, _XpksPackFree or
; _XpksUnpackFree. In this case you can set these dummies here:
;
_XpksPackFree
_XpksPackReset
_XpksUnpackFree
; Dummy functions, mark out them if you want to use your own ones
_InitCode
_ExitCode MOVEQ #0,D0
RTS
; or set these two if the functions are extern
; XREF _InitCode
; XREF _ExitCode
**************************************************************************
; ASM: in assembler language use this file as an include with directive
; INCLUDE xpkLib____.i
; OTHER: In any other language compile this file with an assembler and get
; an object file (called like xpkLib____.o). Link this object file together
; with your other code. This file MUST be the first one (e.g. it is the
; startup code). Set the following external references.
;
; XREF _XpksPackerInfo
; XREF _XpksPackChunk
; XREF _XpksPackFree
; XREF _XpksPackReset
; XREF _XpksUnpackChunk
; XREF _XpksUnpackFree
**************************************************************************